﻿<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<meta name="description" content="Caracole" />
</head>
<jquery />
<jsconst />
<js file='__PUBLIC__/js/login.js'/>
<css file='__PUBLIC__/css/login.css' />
<body>
<style type="text/css">


body{ background:url("__PUBLIC__/images/background_beige.png");
}

</style>
<?php
C("debug",0);
   if(!empty($_SESSION['username'])){
	$this->go("__WEB__?a=admin&c=index&m=index");

   }else{
 ?>
<form  method="post">
    <div id='input'>
 <p><img src="__PUBLIC__/images/13502KV7-5_03.gif" id='pig1'/>
	<input  type="text" name="username" id="user"/><br/>
	<span class='u_error'> 用户名不存在</span></p>

	<p><img src="__PUBLIC__/images/pas_03.gif" id='pig2'/> <input type="password" name="password" id="pas" /><br/><span class='p_error'>密码不对哦</span></p>
	<a href="__WEB__?a=admin&c=public&m=adduser">注册</a>
		<input type="submit" id="sub"  value="登陆" /></div>
	</form>
	<?php }?>


</body>